package com.shop.front.dao.store;

import com.shop.jpa.BaseDao;
import com.shop.domain.store.StoreProductReply;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface StoreProductReplyDao extends BaseDao<StoreProductReply, Long> {

    @Query("from StoreProductReply where uid = ?1 and ocid = ?2")
    public StoreProductReply findByUserIdAndOcid(Long userId, Long ocid);

}
